using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    [Serializable]
    public class SourceTypeInfo
    {
        private int seq;
        private string code;
        private string name;
        private string descr;
        private string status;
        private int display;
        private UserRecordInfo _UserInfo;

        public SourceTypeInfo()
        {

        }

        public SourceTypeInfo(int seq)
        {
            this.seq = seq;
        }

        public SourceTypeInfo(int seq, string code, string name, string descr, string status, UserRecordInfo _UserInfo)
        {
            this.seq = seq;
            this.code = code;
            this.name = name;
            this.descr = descr;
            this.status = status;
            this._UserInfo = _UserInfo;
        }

        ~SourceTypeInfo()
        {

        }

        public virtual void Dispose()
        {

        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Code
        {
            get
            {
                return code;
            }
            set
            {
                code = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {

                name = value;
            }
        }

        public string Description
        {
            get
            {
                return descr;
            }
            set
            {
                descr = value;
            }
        }

        public string Status
        {
            get
            {
                return status;
            }
            set
            {
                status = value;
            }
        }
       
        public UserRecordInfo User
        {
            get
            {
                return _UserInfo;
            }
            set
            {
                _UserInfo = value;
            }
        }
    }
}